export async function loadConfig() {
  const response = await fetch('/config.json')
  if (!response.ok) {
    throw new Error('Failed to load api domain config')
  }
  const config = await response.json()
  return config
}